/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 98152
 * Date: 2025-03-18
 * Time: 20:18
 */
public class Test {
    public static void main(String[] args) {
        Solution solution = new Solution();
        String s = "pwwkew";
        int ret = solution.lengthOfLongestSubstring(s);
        System.out.println(ret);
        /*Solution2 solution2 = new Solution2();
        int[] nums = {0,0,0,0};
        int k = 0;
        int ret = solution2.longestOnes(nums, k);
        System.out.println(ret);*/
    }
}
